package com.cqjtu.eecs.entity;

import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 角色-权限
 * </p>
 *
 * @author
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="RolePermission对象", description="角色-权限")
public class RolePermission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色名称")
    private Integer id;

    @ApiModelProperty(value = "角色编号")
    private Integer roleId;

    public RolePermission() {
    }

    public RolePermission(Integer id, Integer roleId) {
        this.id = id;
        this.roleId = roleId;
    }
}
